﻿<%@ Page Title="" Language="C#" MasterPageFile="~/VSFuncionario.Master" AutoEventWireup="true" CodeBehind="NoticiaCadastro.aspx.cs" Inherits="Presentation.NoticiaCadastro" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">

        .style2
        {
            width: 108px;
        }
        .style1
        {
            width: 194px;
        }
        .style3
        {
            width: 108px;
            height: 306px;
        }
        .style4
        {
            width: 194px;
            height: 306px;
        }
        .style5
        {
            width: 108px;
            height: 34px;
        }
        .style6
        {
            width: 194px;
            height: 34px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        Cadastre sua notícia<br />
        <br />
    <table style="width: 598px">
        <tr>
            <td class="style2">Título:</td>
            <td class="style1">
                <asp:TextBox ID="txtCadastroTituloNoticia" runat="server" Width="215px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style3">Corpo:</td>
            <td class="style4">
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <asp:TextBox ID="txtCadastroCorpoNoticia" runat="server" Height="249px" 
                    TextMode="MultiLine" Width="448px"></asp:TextBox>
                <asp:HtmlEditorExtender ID="txtCadastroCorpoNoticia_HtmlEditorExtender" 
                    runat="server" Enabled="True" EnableSanitization="false" TargetControlID="txtCadastroCorpoNoticia">
                </asp:HtmlEditorExtender>
            </td>
        </tr>
        <tr>
            <td class="style5">
                Data:</td>
            <td class="style6">

                <asp:TextBox ID="txtCadastroDataNoticia" runat="server"></asp:TextBox>
                <br />
                <br />
                <asp:CalendarExtender ID="txtCadastroDataNoticia_CalendarExtender" 
                    runat="server" Enabled="True" TargetControlID="txtCadastroDataNoticia">
                </asp:CalendarExtender>

                <asp:Button ID="BntCadastrar" runat="server" Text="Cadastrar" 
                    ValidationGroup="cadastar" onclick="BntCadastrar_Click" />

            </td>
        </tr>
    </table>
    </div>
    </asp:Content>
